
import { createStore,combineReducers } from 'redux';
import userReducer from './userReducer';
import globalReducer from './globalReducer';

const reducers=combineReducers({
    userReducer,
    globalReducer
})

const store=createStore(
    reducers,
    window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
)

export default store;